package com.pactera.madp.cp.mapper.sync;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pactera.madp.cp.api.dto.sync.MaMarketingLeadDTO;
import com.pactera.madp.cp.api.entity.sync.MaMarketingLeadEntity;

/**
 * @title 营销线索表-MP接口定义
 * @date 2022-05-13
 * @author Deming.Chang
 */
public interface MaMarketingLeadMapper extends BaseMapper<MaMarketingLeadEntity> {

    /**
     * 汇总指定指定客户经理销售线索并插入
     * @param dto  筛选条件
     * @return
     */
    int summaryAndSaveByRecommend(MaMarketingLeadDTO dto);

}
